package com.cfc.mongodb.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

/**
 * mongoDb-公共字段
 * @author zqs
 */
@Data
public class MongoDbBaseModel implements Serializable {

    //@ApiModelProperty(value = "ID")
    @Id
    private String id;

    //@ApiModelProperty(value = "创建时间")
    private Date created;

    //@ApiModelProperty(value = "创建人")
    private String creator;

    //@ApiModelProperty(value = "修改时间")
    private Date updated;

    //@ApiModelProperty(value = "修改人")
    private String updater;
}